Correct missing final line endings.