fts.c: sync with similar code from coreutils' remove.c