Infrastructure for test based benchmarks.

Bug: 210397080
Change-Id: I6938fc23a7578f100de0003656df3104646e66d9
diff --git a/tools/as_utils.py b/tools/as_utils.py
index 43153c6..4087137 100644
--- a/tools/as_utils.py
+++ b/tools/as_utils.py
@@ -3,11 +3,11 @@
 # for details. All rights reserved. Use of this source code is governed by a
 # BSD-style license that can be found in the LICENSE file.
 
-import utils
-
-from distutils.version import LooseVersion
 import os
 import shutil
+from distutils.version import LooseVersion
+
+import utils
 
 if utils.is_python3():
   from html.parser import HTMLParser
@@ -174,7 +174,7 @@
     shutil.rmtree(dst)
   elif os.path.isfile(dst):
     os.remove(dst)
-  os.rename(src, dst)
+  shutil.move(src, dst)
 
 def MoveDir(src, dst, quiet=False):
   assert os.path.isdir(src)