Fix saving heightmap file when exported to jar