[scripts/req] Use a temporary file for cookies.