Updated HDF5wrapper to return H5 file id.