[fix #9] add carriage return to avoid parse error in libyaml If data does not end with only carriage return