Fixed PHP-859: MongoCollection::save() with options crashes.