Fix end-of-file newline issues.