fix exception throwing in SupervisordConfigFileWriter