Use with statement for urllib.