Fix for stripping away copyrighted ICC profiles, thanks DavidPrevot.

(cherry picked from commit 9ac8884d99febd6e781febf6af27d90642a209b1)