Fixed bug in the XML structured data writer.
A bug was introduced when adding support for writing out time values as field data. When writing appended data, the actual data and offset information for the TimeValue array was not written causing the whole file to be incorrect and unreadable. Fixed.