Fix pb with file encoding.