pub fn write_env_file( file_path: &str, env_vars: &HashMap<String, String>, original_lines: &[String], ) -> Result<()>