Function writeFileUTF8
Write a string into a UTF-8 encoded file.
The file will have a byte order mark (BOM) prepended.
Write a string into a UTF-8 encoded file.
The file will have a byte order mark (BOM) prepended.