Teach file.check_perms to handle uids and gids.
Teach file.check_perms to handle uids and gids.

Fixes #21423. Allow passing in numeric values for user and group.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt