templates / branches--on commit compat: convert modes to use portable file type values (d543d9c)
   1: this is just to ensure the directory exists.