Correctly create directory structure for non-existing logfile paths
Merge pull request #7 from doo/fix_create_log_dir

Correctly create directory structure for non-existing logfile paths