fix etree tostring chinese encoding bug