Fix filesystem usage; std::string.c_str is weird. Also, images!