Fixed emitting of invalid BOM for UTF-16.
12 files changed