Add some error measures directly to the output file.