add missing newline at the end of diffs