Added follow_symlinks kwarg to file.check_perms

References #11387

@terminalmage is this along the lines of what you were thinking for ```file.check_perms```?