Use correct URI escape method

Closes #105