Handle newlines in command-line values.