urllib changes for python3