templates / branches--on commit mingw: use _commit to implement fsync (75f6929)
   1: this is just to ensure the directory exists.