add newline to the end of the file