python: how to download a zip file,f.close()