gooftool / report_upload: Fix CPFE upload method.

CPFE returns success / fail strings different than expected. Also, "&"
in URLs must be escaped.

BUG=chromium-os:38322
TEST=manual. Complete finalize step successfully w/ CPFE upload method.

Change-Id: I16531c3c6cc88cdb39e19fbde03e4bc8aff6b586
Reviewed-on: https://gerrit.chromium.org/gerrit/42189
Reviewed-by: Jon Salz <jsalz@chromium.org>
Tested-by: Shawn Nematbakhsh <shawnn@chromium.org>
Commit-Queue: Shawn Nematbakhsh <shawnn@chromium.org>
diff --git a/py/gooftool/gooftool.py b/py/gooftool/gooftool.py
index 5738a50..000be73 100755
--- a/py/gooftool/gooftool.py
+++ b/py/gooftool/gooftool.py
@@ -649,7 +649,7 @@
   elif method == 'ftps':
     report_upload.CurlUrlUpload(target_path, '--ftp-ssl-reqd ftp:%s' % param)
   elif method == 'cpfe':
-    report_upload.CpfeUpload(target_path, param)
+    report_upload.CpfeUpload(target_path, pipes.quote(param))
   else:
     raise Error('unknown report upload method %r', method)