Rewrite the dump / load scripts to work with hdf5.