Adding UTF-8 BOM to output file