Create a directory at a given path. The user may choose whether it is
an error for a directory to already exist at that path.
This computation throws
IOError on failure. See “Classifying
I/O errors” in the
System.IO.Error documentation for
information on why the failure occured.