Now path is also correctly sanitized. g_extern.basename of /path/to/file.zip#game.img is now /path/to/game