Issue #17248: Fix os.*chown() testing when user is in root group.
Issue #17248: Fix os.*chown() testing when user is in root group.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator