fixed data race bug, file- and directory-pairs now apparently being processed correctly, without the under-reporting seen earlier