fix empty yaml writing with comments + v0.9.3