open the file for YAML.load

looks to be related to https://bugs.ruby-lang.org/issues/6487
fixes gh-30