Fixed CRC bug that was preventing the image files from being written to disk.