mxpack: Add UTF-8 byte order mark if needed.