Revert "Tighten enforcement of file modes."

This reverts commit 5b042b4b0dd904373e74aebc115bab3feb014fc3.