Shellvars: allow line wrapping and improve quoting support