Use download instead of capture.

This solves a problem were secrets from being logged when the log level was
set to debug.