re #766: urllib.urlencode() need str param not unicode, so convert unicode to utf8 string
Merge pull request #790 from saltduck/766-unicode-crash

re #766: urllib.urlencode() need str param not unicode