Use status code to determine if fits had an error

Looking at whether anything was written to stderr fails since log4j
puts warnings there.