Print error on bad exit code to stderr.