Add an exception handler to saveGame so that it will not break the game if something goes wrong