minor HDF5 fixes (reports by St. Meister und J.M. Gottfried)