Make the URL to bookmark URI-safe

The URL to bookmark was not being URI-escaped (opps!). This fixes the problem.