Work around bug in mono causing transformed output to be UTF-16.

The bug caused transformed output to be encoded in UTF-16 instead of
UTF-8 if a UTF-8 BOM was not present in the source config.

See mono bug https://bugzilla.xamarin.com/show_bug.cgi?id=25401

Fixes #2.