Change word2vec2tensor for python 3. Fix #1126. (#1127)
Change word2vec2tensor for python 3. Fix #1126. (#1127)

As discussed with @tmylk in issue 1126, python 3 does not support word.encode('utf-8'). Changing to gensim.utils.to_unicode(word) worked. Tested with Python 3.5 in Ubuntu 16.04.
robotcator/gensim,robotcator/gensim,mattilyra/gensim,jaksmid/gensim,mattilyra/gensim,gojomo/gensim,summanlp/gensim,bhargavvader/gensim,RaRe-Technologies/gensim,bhargavvader/gensim,loisaidasam/gensim,dsquareindia/gensim,dsquareindia/gensim,macks22/gensim,loisaidasam/gensim,laic/gensim,quole/gensim,Kreiswolke/gensim,macks22/gensim,summanlp/gensim,quole/gensim,RaRe-Technologies/gensim,ELind77/gensim,laic/gensim,robotcator/gensim,Kreiswolke/gensim,gojomo/gensim,jaksmid/gensim,gojomo/gensim,piskvorky/gensim,bhargavvader/gensim,quole/gensim,loisaidasam/gensim,jaksmid/gensim,piskvorky/gensim,Kreiswolke/gensim,dsquareindia/gensim,laic/gensim,mattilyra/gensim,summanlp/gensim,RaRe-Technologies/gensim,macks22/gensim,ELind77/gensim,ELind77/gensim,markroxor/gensim,RaRe-Technologies/gensim,markroxor/gensim,gojomo/gensim,piskvorky/gensim,markroxor/gensim