add byte order mark option to csv

This is the implementation for #3519