Unfuq urllib py3k compatibility