Write lines to a fileSource:
The text is converted to UTF-8 encoding before writing.
A character vector to write
A character string giving the file path to write to.
The end of line characters to use between lines.
The files are opened in binary mode, so they always use exactly the string
eol as the line separator.
To write a file with windows line endings use
write_lines(eol = "\r\n")