Add an allFiles cache, used by getAllFiles, to ensure that there is at most one uncached directory traversal happening at once before watchers come up