Try and cache the subdirectories of a directory when we gather files.
Merge pull request #353 from mono/gitCpu

Try and cache the subdirectories of a directory when we gather files.