Updated to use pylibtiff to write TIFFs. Eliminates support for writing anything other than TIFF files. (Using imsave inconsistently resulted in 8-bit TIFFs being saved where 16-bit TIFFs were necessary.)