[PATCH 4/5] userenv: Add a set_env_var() helper.