templates / branches--on commit sha1_file: convert read_object_with_reference to object_id (02f0547)
   1: this is just to ensure the directory exists.