Add directory support for extract_all