Added code to handle partial downloads (.part and qBittorrent)