fix UnicodeDecodeError  ordinal not in range(128)