clean read and write color profile code for jpeg, png and tiff