Fix usage of six.moves.urllib

As reported by @pllim.