use available $io in archive
https://github.com/composer/composer/pull/2099#pullrequestreviewcomment-5318806