BUG: Fixes unicode bug in ParameterEntry.build_widget
MNT: str -> six.text_type for python2to3 compat