Minor refactor.
Saving new hdf5 and dnpy files.