'Set the attributes for the path.
This method returns when the attributes are set or a Deferred that is
called back when they are.
@type path: L{bytes}
@param path: the path to set attributes for as a string.
@param attrs: a dictionary in the same format as the attrs argument to
openFile.'

def setAttrs(self, path, attrs):

    data = (NS(path) + self._packAttributes(attrs))
    return self._sendRequest(FXP_SETSTAT, data)
