unified hdf4 and tiff converters