'Build a filename for this torrent'

def make_filename(self, torrent, entry):

    title = entry[u'title']
    files = torrent.get_filelist()
    if (len(files) == 1):
        fn = files[0][u'name']
        if (len(fn) > len(title)):
            title = fn[:fn.rfind(u'.')]
    title = title.replace(u'/', u'_')
    title = title.replace(u'    ', u'_')
    title = title.replace(u'\u200b', u'')
    fn = (u'%s.torrent' % title)
    log.debug((u'make_filename    made    %s' % fn))
    return fn
