BOM option for CSVBuilder

we should add a way to set the BOM for the CSVBuilder, see #3514 for details.