Changed HDF5 so that exiting wont kill h5 file.