Fix torrent.getTotalSize() for single file torrents