Fix two bugs in the fstat() line, reported by Fredruk Lundh.
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
index a6d03d7..e1d0d70 100644
--- a/Lib/py_compile.py
+++ b/Lib/py_compile.py
@@ -44,7 +44,7 @@
     import os, marshal, __builtin__
     f = open(file)
     try:
-        timestamp = os.fstat(file.fileno())
+        timestamp = long(os.fstat(f.fileno())[8])
     except AttributeError:
         timestamp = long(os.stat(file)[8])
     codestring = f.read()