Replaced obsolete stat module constants with equivalent attributes
diff --git a/Lib/uu.py b/Lib/uu.py
index 2ee336c..f591798 100755
--- a/Lib/uu.py
+++ b/Lib/uu.py
@@ -52,7 +52,7 @@
             name = os.path.basename(in_file)
         if mode is None:
             try:
-                mode = os.stat(in_file)[0]
+                mode = os.stat(in_file).st_mode
             except AttributeError:
                 pass
         in_file = open(in_file, 'rb')