preserve icc profiles

Hello,
I think would be really useful to preserve icc profiles on thumbnails, I propose this really simple patch to do that, what do you think?

best regards
d.