Recursively created directories along a path. It will create each dir in given string ´foo/bar/doo´. Source: http://goo.gl/bvcJk