ensure torrent datadir is writable