Ensure HDF5 kinds are correctly defined in write_core_to_file.
Ensure HDF5 kinds are correctly defined in write_core_to_file.

HDF5 calls are only well defined if the HDF5 library is already open,
even things one might think are constant, such as kind parameters..

hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,hande-qmc/hande,ruthfranklin/hande,hande-qmc/hande