probes/file: Do not collect directories if the filename attribute is set
probes/file: Do not collect directories if the filename attribute is set

It is a bug fix for the upward recurse direction case.

OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap,OpenSCAP/openscap