Fix mapeditor.py crashing when given a nonexistent map file

Fixes #79