zvsh: reimplement is_binary_string for py3 compat
zvsh: python3 fixes
tests/functional: python3 fixes