Some urllib fix for python3.