changed ImageStackDirectoryWriter to export to TIFF