Bug 741179: Export does not remember compression of input...

for Deflated TIFF

similar to commit 91738c3b9

(cherry picked from commit 068745dc5c968948ef0d10483a72aa207ae5ddf3)