templates / branches--on commit commit_lock_file(): use a strbuf to manage temporary space (3e88e8f)
   1: this is just to ensure the directory exists.