'Add hashes from aff4_object to result.'

def _ExportHash(self, aff4_object, result):

    if self.options.export_files_hashes:
        hash_obj = aff4_object.Get(aff4_object.Schema.HASH)
        if hash_obj:
            self.ParseFileHash(hash_obj, result)
