Fix to use stream rather than file name to load initial_poses yaml file

* `yaml.load` uses stream rather than file name