Adding UTF-8 BOM to output file

It solves a problem with non english characters when open such files in MS Excel.