Fix the filesystem implementation in order to get blargSnes to run

Order of buffer and flush are swapped in your docstring