Improve handling of multi-valued properties in TIFF, and fix some problems with ICC profiles in PNG