recalculate EDC/ECC when writing XA files to the image