File and stat cache cleanup