fix file perms