This change reflects what the Windows installer already does: https://github.com/mjpieters/python-versions/blob/c0e7ef2c3c5b8e3dce50c0caceaafb4a5266a36c/installers/win-setup-template.ps1#L82-L87
* rework replacement function to use the same pattern like windows * remove old replacement