Fix RemoteCopy failing to resolve ~ for Windows VMs in Python 3.8+. Upstream change that broke RemoteCopy: https://github.com/python/cpython/commit/25ec4a45dcc36c8087f93bd1634b311613244fc6
Fix RemoteCopy failing to resolve ~ for Windows VMs in Python 3.8+.
Upstream change that broke RemoteCopy: https://github.com/python/cpython/commit/25ec4a45dcc36c8087f93bd1634b311613244fc6

PiperOrigin-RevId: 441030189

GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker,GoogleCloudPlatform/PerfKitBenchmarker