create directory recursively
Merge pull request #6 from pgeorgi/mkdir

create directory recursively