Deal with urllib, urllib2 renames etc in Python 3.