Change update logic to be backwards compatible with old format.

The key change is transforming var/...* to var_new/...* and dev_image/...* to dev_image_new/...* so that the tar file can be directly extracted to the stateful partition and have the same format for chromeos_startup as the old format.

Change-Id: I0148ae76bd664e3cc4b7762c23513ceac38d517e

BUG=8885
TEST=Tested with other CL by running stateful_update on a VM

Review URL: http://codereview.chromium.org/4755001
diff --git a/autoupdate.py b/autoupdate.py
index a8e02fe..23392a3 100644
--- a/autoupdate.py
+++ b/autoupdate.py
@@ -261,6 +261,8 @@
                              '-czf',
                              output_gz,
                              '--directory=%s' % stateful_dir,
+                             '--transform=s,^dev_image,dev_image_new,',
+                             '--transform=s,^var,var_new,',
                              'dev_image',
                              'var',
                             ])