Handle diffs with no newline at end