merge mxf_write_d10_packet into mxf_write_packet