backward-compatible YAML history file format

also, since we're use YAML;ing now, use that for .tdsqlrc too