Recursively created directories along a path. It will create each dir in given string ´foo/bar/doo´.