Stylecop fix

Fix StyleCop warnings
This looks to be adding BOM which is a no-no.