Fix failure on unicode files