Correctly loading & saving the terrain data file.