GeneratePolicyFromDeniedPermissions - synchronization and skipping of FilePermission for generated policy file