create parent directory if it doesn't exist
Merge pull request #13 from tlancina/master

create parent directory if it doesn't exist