Create temporary files in the system's temp directory.

In Brillo, the temporary directory might not be /tmp. This patch uses
base::GetTempDir() instead and removes the hard-coded mentions of /tmp
when creating temporary directories.

Bug: 22024447
Test: `update_engine_client --update --omaha_url=...` mounts /system on the temp directory under /data/local/tmp

Change-Id: Ibb52cae01419511f91bdfbf6f228b74a581edde9
diff --git a/delta_performer.cc b/delta_performer.cc
index 6094c5a..2538329 100644
--- a/delta_performer.cc
+++ b/delta_performer.cc
@@ -877,7 +877,7 @@
                                                        &output_positions));
 
   string temp_filename;
-  TEST_AND_RETURN_FALSE(utils::MakeTempFile("/tmp/au_patch.XXXXXX",
+  TEST_AND_RETURN_FALSE(utils::MakeTempFile("au_patch.XXXXXX",
                                             &temp_filename,
                                             nullptr));
   ScopedPathUnlinker path_unlinker(temp_filename);
@@ -943,7 +943,7 @@
                                                        &output_positions));
 
   string temp_filename;
-  TEST_AND_RETURN_FALSE(utils::MakeTempFile("/tmp/au_patch.XXXXXX",
+  TEST_AND_RETURN_FALSE(utils::MakeTempFile("au_patch.XXXXXX",
                                             &temp_filename,
                                             nullptr));
   ScopedPathUnlinker path_unlinker(temp_filename);