'Install block lists after files have been downloaded.'

def on_lists_downloaded(self):

    with open(self._local_hosts_file, 'w', encoding='utf-8') as f:
        for host in sorted(self._blocked_hosts):
            f.write((host + '\n'))
        message.info('adblock:    Read    {}    hosts    from    {}    sources.'.format(len(self._blocked_hosts), self._done_count))
