Remove empty trailing line.