Download to temp file, then rename once finished.