HeaderSearch::loadSubdirectoryModuleMaps stats all the files in a directory which causes the dependency scanning
service to load and cache their contents. This is problematic because a file may be in the process of being generated
and could be cached by the dep-scan service while it is still incomplete.
To address this change loadSubdirectoryModuleMaps to ignore regular files.
Should we add status override as well? I think we don't want to stat it either.