Update preload.py for python2.6

my python is 2.6,urllib.urlopen is not for me,I am not sure whether this script work for python3.