Save cookies back to jar when fetching clone.bundle

Change-Id: I3ef71b5e7f8ee1cda66057e46ae234866c7258c4
diff --git a/project.py b/project.py
index ce27e7a..6ed9f9d 100644
--- a/project.py
+++ b/project.py
@@ -1949,7 +1949,7 @@
       cmd += ['--proxy', os.environ['http_proxy']]
     with self._GetBundleCookieFile(srcUrl) as cookiefile:
       if cookiefile:
-        cmd += ['--cookie', cookiefile]
+        cmd += ['--cookie', cookiefile, '--cookie-jar', cookiefile]
       if srcUrl.startswith('persistent-'):
         srcUrl = srcUrl[len('persistent-'):]
       cmd += [srcUrl]