fmtspool() -> mg_write()