'Sends replies about the hits.'

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

    hits = list(responses)
    for hit in hits:
        if (not hit.pathspec):
            hit.pathspec = responses.request_data.GetItem('pathspec')
        self.SendReply(hit)
    if self.args.also_download:
        self.CallFlow(transfer.MultiGetFile.__name__, pathspecs=[x.pathspec for x in hits], next_state='End')
