templates / branches--on commit read-cache: clean up casting and byte decoding (371ed0d)
   1: this is just to ensure the directory exists.