auto import from //depot/cupcake/@132589
diff --git a/tools/fileslist.py b/tools/fileslist.py
index ae1b4b6..ae105e6 100755
--- a/tools/fileslist.py
+++ b/tools/fileslist.py
@@ -17,10 +17,6 @@
 
 import os, sys
 
-def get_file_size(path):
-  st = os.lstat(path)
-  return st.st_size;
-
 def main(argv):
   output = []
   roots = argv[1:]
@@ -31,7 +27,7 @@
       for f in files:
         try:
           row = (
-              get_file_size(os.path.sep.join((dir, f))),
+              os.path.getsize(os.path.sep.join((dir, f))),
               os.path.sep.join((relative, f)),
             )
           output.append(row)