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

This reverts commit 78c068e5d63d77648954252a785b3673d6e314b7.