Handle newline at end of file.