remove PY3 workaround - if type(permissions) is bytes here, code somewhere else is wrong and should be fixed there

I could not reproduce the problem that was worked around.