Update download_extension_tarball

support for magento connect 1.0.