file->append_tag();
// Can't put newlines in because these would be reimported and resaved along
// with new newlines.
- char *data = (char*)xbuf->pos(0);
+ char *data = (char*)xbuf->cstr();
file->append_data(data, strlen(data));
file->tag.set_title((char*)"/KEYFRAME");