Fixed some io tests which trigger ambiguous unicode BOMs