Create a directory if it does not exist.
$dirPath is relative to the
It will create all missing subdirectories in the given path.
$permissions argument is a string representing an octal permissions mask for the new directory. This is ignored on Windows.