made urllib import work with python3 and python2