minor fixes
Merge pull request #727 from dcoeurjo/MinorHDF5fix

minor fix in HDF5 genericreader