file transfer: Destroy rows for finished transfers

An error in the code made it impossible to remove finished transfers
from the chat window.