templates / branches--on commit apply: handle traditional patches with space in filename (5a12c88)
   1: this is just to ensure the directory exists.