wsl: reduce string modifications