fix support for single-file torrents