Changed tiff writing to use Christoph Gohlke's tifffile.py