CSHARP-1037: Port bulk write operations from 1.x to 2.x.