Fix torrent creation in case basefolder is empy, i.e. relative paths are used.