Preventing seg fault on corrupt SceneCache files