fixed character encoding when passing compression to libtiff which prevented images smaller than 4096 from being written
Merge branch 'hotfix-1.3.3'