Py3k: isinstance(x, (str, native_str)) everywhere

see #712