Ensure file path isn't percent encoded in the plugin (#2086)
Motivation:
In Swift 6, SwiftPM deprecated its Path based API for plugins and moved
to Foundation's URL. On Darwin, getting the path of a URL percent
encodes it which leads to build issues in Xcode.
Modifications:
- Make sure the path isn't percent encoded
Result:
- Plugin works again
- Resolves #2085