Fixed a bug with the uri path being encoded

- Fixes #28