libfreerdp-common: add fine grained control over .rdp file writing functions