templates / branches--on commit write-tree: check extra arguments and die but be a bit more helpful. (75a46f6)
   1: this is just to ensure the directory exists.