Fixed string encoding bug for python 3
Fixed string encoding bug for python 3

Abasyoni/dynet,cherryc/dynet,Abasyoni/dynet,cherryc/dynet,Peilun-Li/dynet,Abasyoni/dynet,Peilun-Li/dynet,Peilun-Li/dynet,cherryc/dynet