Minor changes to YamlInterface.prototype.toYaml in order that it should include file header info