Fix the filesystem implementation in order to get blargSnes to run

=>

    std::string extension_string = filename.substr(point + 1, 3);
    std::copy(extension_string.begin(), extension_string.end(), extension.begin());