Persist package file extension in `WP_CLI\CoreUpgrader`

`wp core update` uses ZIP files, while `wp core download` uses gzipped
TAR files. Renaming ZIP files to `.tar.gz` causes nasty bugs. Let's keep
them cached separately.