Fix the filesystem implementation in order to get blargSnes to run

Correct me if I'm wrong, but I think these two can (and hence should) be const references.