Fix the filesystem implementation in order to get blargSnes to run

Its reads a lot like `this function behaves like described on [...]` documentation, and docs describing the behavior of a function surely should be in the header file.