If a CPIO archive contained an entry for a directory we attempted to
identify it via nlinks. Since it should have at least two nlinks if it's a
directory.
However, We stumbled across a case where this is not true. By using
the mode bits we should be able to correctly identify directories without
relying on nlinks. We're now using mode bits.