resourceutil: start using importlib.resources.files() when possible
This avoids DeprecationWarnings related to our use of resources.open_binary()
on Python 3.11.
# This config file points Mercurial at the system-wide certificate# store from the ca-certificates package.[web]cacerts = /etc/ssl/certs/ca-certificates.crt