deleted 'str' in line 118 and 137

Otherwise, an error is raised in my python 2.7.5: 'ascii' codec can't
encode characters in position 170-173: ordinal not in range(128)