Use standard shutil.unpack_archive which has a limited archive support but can be extended to support arbitrary archive formats as needed. Fixes: #42