fix https://github.com/jackalope/jackalope/issues/32 by properly urlencoding
Merge pull request #50 from jackalope/path-invalid-characters

fix invalid path exception by properly urlencoding