add newline to file end