cpp: rpc: fixed windows temporary ssl file handling