Revert "allow gridfs DOS files to be accessed without write privileges"

This reverts commit ada76cdad720bef5755b1061d74417edde387503.

Apparently this was already patched on the gridfs side