Handle \ No newline at end of line lines in diff