#Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.\r
import __init__\r
\r
-import os, traceback, math, re, zlib, base64, time, sys, platform, glob, string\r
+import os, traceback, math, re, zlib, base64, time, sys, platform, glob, string, stat\r
import cPickle as pickle\r
if sys.version_info[0] < 3:\r
import ConfigParser\r