Ruby impl of env and env_path resource for windows