Fix the filesystem implementation in order to get blargSnes to run

Screw it, my suggestion is not really any better without boost::range.