`mkpath()` ignores/prunes arguments that are `None`, you can always include `index` in the arguments. i.e. I'd switch it to this:

```python
if index:
    index = quote_plus(index)
return mkpath(self.yz_wm_index, "index", index, **options)
```