I had some similar problems. Maybe you want to try quotes and absolute paths... solved most of my problems
Have you looked at the script above your post?
This script should 1. create a directory from the torrent name in a "done" folder 2. makes a $torrentname.desktop file providing a symbol in the /done/$torrentname folder which you can click to open the website where you downloaded the file 3. if the torrent is a folder, it moves the torre...