(2.7x, libT) backport r13752, r13762 for #4633
(libT) #4633 'if executing the torrent-done script fails, log an error' -- done.