Quote the path before attempting to fetch it so that non-URL-safe
characters don't break urllib2's heart.