RemoteObject.disconnect: fix deadlock on simultanous disconnections

Fixes #25813

Change-Id: I874c5ae622b7376c327a3907c4b164ea46143cb1
Reviewed-on: http://gerrit.aldebaran.lan/48414
Reviewed-by: tfontenay <tfontenay@aldebaran-robotics.com>
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Use boost filesystem with fstream

Fixes #26069

Change-Id: Iaadc7fe3716c5b6b98c12f494e0bba500c0721b6
Reviewed-on: http://gerrit.aldebaran.lan/48643
Reviewed-by: pdaouadi <pdaouadi@aldebaran-robotics.com>
Tested-by: pdaouadi <pdaouadi@aldebaran-robotics.com>