mkdir(
pathname,mode,recursive) ->ok,err
Create a directory, optionally with parent directories
mode is an octal permission string passed to mkdir(2), e.g. "0755".
Defaults to "0755" (subject to umask) when omitted. When recursive is
true, any missing parent directories are created in order, each with the
same mode. Returns nil and an error string if creation fails at any step.
With recursive, a segment that already stands must be a directory or a
link to one. A plain file or a dangling link answers nil and
"File exists", as the call without recursive does over a file.