Added optional delimiter to csv related functions. ";" is the default