Move config file from agent to supervisor

Move config file from agent to supervisor.  @bernerdschaefer 
Again, no need for FileMode conversion, and O_TRUNC instead of O_APPEND