Fix removing non-existing torrent file on exit