Avoid to use 'makedirs (exist_ok=True)'

To use makedirs (exist_ok=True) is problematic as it raises
an exception if the directory exists but has different
permissions than the ones expected by makedirs.
Merge pull request #7 from endlessm/fixes

Avoid to use 'makedirs (exist_ok=True)'