fix save_map test on windows