Deal with CMYK images by converting them to RGB

Deal with CMYK images by converting them to RGB.  PIL does not invert CMYK images as of PIL 1.1.7, so the invert happens in ImageWriter.