'Move downloaded content from temp folder to final destination'

def on_task_output(self, task, config):

    config = self.process_config(config)
    for entry in task.accepted:
        try:
            self.output(task, entry, config)
        except plugin.PluginWarning as e:
            entry.fail()
            log.error(u'Plugin    error    while    writing:    %s', e)
        except Exception as e:
            entry.fail()
            log.exception(u'Exception    while    writing:    %s', e)
