yaml.load takes stream