Extracts archives so that a wrapping folder is only created when the content consists of more than one file/folder.