Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process).