Add missing newline(s) at eof