convert salt to utf-8 string for python 2.x