Obey shouldChangeCharactersInRange delegate method.

Add EOF newline