Handle diffs with no newline at their end