Currently, we use the first entry in an archive to determine which columns to show. If the first entry happens to be a directory, then all relevant columns might not be shown. See bug 406135.
This diff makes sure we always check the first file entry for columns to show.