my WD TV™ Media Player converts pictures to folders
that’s an old bug that never got fixed.
best way to solve the problem is to trash the wdtv and buy a better media player.