Adds a newline to a file.