Fix typo in as-url implementation for Path

Discovered using the eastwood linting tool
Merge pull request #66 from Bronsa/patch-1

Fix typo in as-url implementation for Path