Cleaning up the PPM format.  It now prints one line in the file per scanline.