handle_archive extension fixes

(see commit messages)