Have heightmap_generator.js output the heightmap as a file