Added logging of more stats about the files to be downloaded.
Fixed a bug that prevented a torrent with a normal-sized last piece to be downloaded