Make backport.urllib safe for nosetests