Convert an array or an object into a CSV line.
Write a line to the written stream. Line may be an object, an array or a string
preserve argument is for the lines which are not considered as CSV data.
Convert a line to a string. Line may be an object, an array or a string.