templates / branches--on commit sha1_file: convert read_sha1_file to struct object_id (b4f5aca)
   1: this is just to ensure the directory exists.