urllib and urlquote have moved in python3. Annoying: nose2 deps on
an old six, so we can't use six.moves.