Remove newlines from config output

Spurious newlines output while writing the config file can
corrupt the wpa_supplicant configuration.  Avoid writing these.

Bug: 27371366
Change-Id: I3bb99b8c46dba1c81cbccc76ed0cd01abc3ccef9
1 file changed