feature request: use original file suffix in temp files
I'm using importlib_resources.path
to get a real path to resource (e.g. a settings file foobar.json
or foobar.yaml
). When using this from a wheel, the path is something like /tmp/tmp163kokqj
, which makes it hard to detect what format the file is.
It would be handy if the temp file had at least the same extension as the original file.