hdf5, tiff save checks added