'Save stat information on the directory.'

@flow.StateHandler()
def Stat(self, responses):

    if (not responses.success):
        self.Error(('Could    not    stat    directory:    %s' % responses.status))
    else:
        stat_entry = rdf_client.StatEntry(responses.First())
        self.state.stat = stat_entry
        self.state.urn = stat_entry.pathspec.AFF4Path(self.client_id)
