Revert "SERVER-13681: Remove lock that was an incorrect workaround for Azure Drive write size limitations."

This reverts commit 78c068e5d63d77648954252a785b3673d6e314b7.

(cherry picked from commit 231262fda82a3245b8690fdc6421ea1fa3a8a2dd)