Fix the filesystem implementation in order to get blargSnes to run

In the FAT32 partition I looked at, short filenames and extensions were filled with spaces instead of 0 bytes at the end if they weren’t exactly 8.3.