Print an error message to stderr
Only strip newlines from condarc

Otherwise, if someone has leading whitespace on all their keys, it will break
the YAML, e.g.,

  channels:
    - defaults

  always_yes: yes

will become

channels:
    - defaults

  always_yes: yes

which is not valid YAML.
Add some more conda config tests