templates / branches--on commit remote-hg: make sure the encoding is correct (ff247d9)
   1: this is just to ensure the directory exists.