Add error handler around saving player.dat files