templates / branches--on commit safe_create_leading_directories(): reduce scope of local variable (f050233)
   1: this is just to ensure the directory exists.