Collection::ensureIndex() should convert write options (fixes #168)