x_write_disk function

Write an agent, informant, multiagent, or table scan to disk