Apply Clink's hooks before cmd.exe fetches the prompt env var.
Preserve non-ASCII chars when pushing/poping environment.