diff -r 63f2d05c7c20 MoinMoin/util/filesys.py
--- a/MoinMoin/util/filesys.py	Wed Dec 16 09:58:56 2009 +0100
+++ b/MoinMoin/util/filesys.py	Fri Jan 08 12:26:51 2010 -0500
@@ -311,12 +311,13 @@
         @return the real case of path or None
         """
         try:
-            from Carbon import File
+            from filecase import get_canonical_case
             try:
-                return File.FSRef(path).as_pathname()
-            except File.Error:
+                return get_canonical_case(path)
+            except IOError:
                 return None
         except ImportError:
+            logging.error("Can't find filecase.")
             return None
 
 else:
