Make loading level state safer against file deletion.