Remove temp file even if download failed