Added compression to HDF5 file saving