Write files to output directory, one file per config.