sequencer: strip bogus LF at end of error messages