Ruby 777

With pre-2.6 servers, the bulk API has an edge case around documents with non-ObjectID _id fields.  This pull request offers a workaround for the issue.
Make sure you test the other cases as well. They are all important.