ignore BOM in source files. fixes #3675