GH6: Serialize HDF5 access; fix resource leaks
TST: Fix HDF5 test