Wrapping urlopen with 'with' and 'closing'