put newline back at the end of the file