Fix test_parse_utf8_bom on Windows