scripts/tm: fix quoting issue with SESSIONS
scripts/tm: support '/' in session names