Write out dag config file