Save player state to file, fix load