[demux] fix bug w/ qual string trimming
[demux.sh] use out as dir