templates / branches--on commit sha1_file: convert sha1_object_info* to object_id (abef902)
   1: this is just to ensure the directory exists.