Stripping BOM if at the beginning of file

Closes #99