Keep salt.utils.file_perms from causing a traceback in windows
Don't attempt to enforce ownership/permissions in windows

This commit restricts the fix from pull request #8417 to non-windows
minions, and also applies it to file.copy.
Remove salt.utils.file_perms

This was unnecessary due to salt.modules.file.check_perms() already
handling this.
Use file.check_perms to enforce ownership/permissions

The fix that I made in #8417 was incomplete in that it did not work on
symlinks. This uses an existing execution module function,
file.check_perms, to enforce the ownership and permissions.
Merge pull request #8477 from terminalmage/issue8399

Fixes for #8417