indexing fix in isfs::d_by_dt
Save file header and trailer as attributes
readQCFile stores header as attribute, added writeQCFile