Use urllib.urlopen() instead of portage.fetch() for fetching metadata.dtd.