fix BOM header 0xFEFF problem for ucs2 encoding file