using alternate method to remove unicode BOM

This should address this issues in #19