Delete bad file if download failed.