Opportunistically find files in an egg.

Try to import pkg_resources to pull endpoints.json and cacerts.txt out
of an egg, but fall back to the previous paths if pkg_reousrces is not
available.