fix a bug with not ignoring a directory in FNode.ResolveNode
add --dups-check CLO