Use posixpath.commonprefix instead of something hand-rolled
We want directories, not parts of filenames
Add CIA-like filelist-summarizing
If the common prefix is '/', don't bother showing it