Abort on HDF5 errors

The error handling for HDF5 is not properly implemented. One should probably abort if HDF5 encounters some issues.