add a newline at eof