The use of pandas could be eliminated here with 
```python
paths = [self._doc_id_to_path(str(doc)) for doc in doc_ids]
```

I'll make this change.