Powershell Replace Part Of String In Python