Use YAML::dump to output front-matter instead of Hash#to_s

Should fix #90.