Cater to download strategies not yielding a file

Closes #22580.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Treat target as binary when unpacking gzip-only archives