fix cipher key file perms