Fix g4_tiff test on Python 3
Merge pull request #110 from cgohlke/patch-7

Fix g4_tiff test on Python 3