Improve printing of the cmdline to also correctly print the control characters (only in POSIX shell format)