Fixed urllib for python 3.