Fix panics when --compress and --stream are used together Upstream-commit: d1cc8c731e Component: cli
d1cc8c731e