Fix the filesystem implementation in order to get blargSnes to run

Is there any particular reason to use `char*` as output instead of `std::string*`?