strip BOMs (fixes #20)