def __getstate__(self):
        d = self.__dict__.copy()
        if 'statinfo' in d:
            del d['statinfo']
        return d
Support serialization by discarding cached L{os.stat} results and
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/filepath.py/FilePath.__getstate__