#103 unify scanning of container items like directories and archives