to-env.sh: whitespace clean up.
to-env.sh: Handle values with single quotes.