Implement hdf5 dump/load (compiles, not tested)