[python2] Fix urlopen usage