Fixed urlopen in Python 3.