HDF5: Added error reporting to stderr, simplified API.