Adds newline to the end of file.