Fix import urlparse for python 3