Changes introduced in 982af05 caused the RDP configuration file to be written with all settings on one line instead of one setting per line. The Microsoft Remote Desktop client for OS X rejects these configuration files as being malformed. This patch restores the configuration to one line per setting and adds tests to guard against regression.