'Make a directory.
This method returns a Deferred that is called back when it is
created.
@type path: L{bytes}
@param path: the name of the directory to create as a string.
@param attrs: a dictionary of attributes to create the directory
with.  Its meaning is the same as the attrs in the openFile method.'

def makeDirectory(self, path, attrs):

    return self._sendRequest(FXP_MKDIR, (NS(path) + self._packAttributes(attrs)))
