fixed writing rdp file
Merge pull request #3962 from StefanScherer/fix_hosts_windows_cap_rdp

hosts/windows: fixed writing rdp file on windows host