Got rid of NSDirEnumerator which used getdirentries() that has long been deprecated by Apple. Sadly getdirentries() was the only way to obtain details about ghosted files.
Now we use FTS instead. FTS cannot provide info about ghosted files.