quote all shell arguments; create output dir in cwd