Fixes #122: jyaml is not closing files when reading them