fix md5 UnicodeError for Chinese