Saves and loads player data.