Fix file perm checker tests