writing ome.tiff files