Selectively replace Node-style environment variables with plain strings.