templates / branches--on commit config.c: fix mmap leak when writing config (3a1b312)
   1: this is just to ensure the directory exists.