Cleaner file perms check