py3: make sure return value of posix.groupname() is bytes

Authored by pulkit.