Hi,
The most likely reason is that we don’t want to add whatever lib provides Path as a dependency. More dependency means slowing build and install time so we try to keep them as low as possible.
That being said, if there is a standard API to extract the string from these objects that won’t require adding new dependencies, I am sure you can add a feature request on github and it will most likely be accepted