ENH open hdf5 archives read-only when possible