fixed `mapshot` command on Windows