add newline at file end