Added tilde expansion in torrent constructor

Tested with gtorrent-ncurses, worked as expected