fixing BsonAppendBinary