translator_proto.py 2to3

use if in and remove stringtype
http://stackoverflow.com/a/1633491