Create needed directories to avoid errors
Merge pull request #2 from cookiekiller/ensure_directories_exist

Create needed directories to avoid errors