Exit with an error if the pipeline produces an error and run the correct
command rather than the part of the command name used for the output
filename.
Change-Id: I0754ab219983cad3eb8dae327a5435d094f8cf85
Signed-off-by: Doug Hellmann <doug@doughellmann.com>