Escape paths in urls - fixes #4