Fix Version/s: None
This ticket adds an "open" method that can be used to read from and write to ResourcePath locations via file-like objects. The work has already been done on
DM-30891 on daf_butler; it just needs to be adapted to the ButlerURI->ResourcePath move/rename, and it makes sense to put it on a separate ticket for review, testing, and merge anyway.
Cherry-picks onto resources were happily quite easy, and I don't think downstream pipe_base etc. changes on
DM-30891are likely to drive more changes here, so I think we can just get this reviewed and merged now.
PR is https://github.com/lsst/resources/pull/2