Write foot as a set of Defects to fd
Given a detection footprint, convert it to a BBoxList and write the output to the file object fd.
typing.TextIO
lsst.afw.detection.Footprint
See also
lsst.afw.detection.footprintToBBoxList
writeFootprintAsDefects()