'Create all directories not yet existing in C{path} segments, using
L{os.makedirs}.
@param ignoreExistingDirectory: Don\'t raise L{OSError} if directory
already exists.
@type ignoreExistingDirectory: L{bool}
@return: L{None}'

def makedirs(self, ignoreExistingDirectory=False):

    try:
        return os.makedirs(self.path)
    except OSError as e:
        if (not ((e.errno == errno.EEXIST) and ignoreExistingDirectory and self.isdir())):
            raise
