We have a bit of a scope issue in this file. ``makedirs`` here is a function.

```python
Python 2.7.6 (default, Feb 26 2014, 12:07:17)
[GCC 4.8.2 20140206 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> def foo():
...    return 'bar'
...
>>> bool(foo)
True
>>>