templates / branches--on commit read-cache: avoid allocating every ondisk entry when writing (ce012de)
   1: this is just to ensure the directory exists.