Don't set permissions 000 on directories with NoPermissionBits set (ref #284)
Send default permissions 0777 on directories when IgnorePerms set (ref #284)