Add functions to timeseries for loading and saving HDF5 files using h5py