'Support serialization by discarding cached L{os.stat} results and
returning everything else.'

def __getstate__(self):

    d = self.__dict__.copy()
    if ('_statinfo' in d):
        del d['_statinfo']
    return d
