mkpath() - make a directory path.