good call, but going to defer to the pending safe_hdf5 PR as this same method will get modified in there