Fixing a bug with byte order marks

I didn't know to check for UTF-8 byte order marks, so I made a mistake when converting text files. I was meant to use `encoding="utf-8-sig"`.