Delete the temporary file if a download fails or is interrupted

Pretty simple fix -- but without this if a download is `^C`'d it will remain on the filesystem.