`os.path.splitext` has the `ext` including the dot character which `response_with_mimetype_and_name` does not expect.
```python
ipdb> path, ext = os.path.splitext(u'tutorial.csv')
ipdb> ext
u'.csv'
```