Move config file from agent to supervisor

Move config file from agent to supervisor.  @bernerdschaefer 
These directories need to be created before writing the config. Also, no need for the os.Filemode conversion -- `os.MkdirAll(rundir, 0775)` is sufficient.