templates / branches--on commit dir: convert get_dtype to take index (98f2a68)
   1: this is just to ensure the directory exists.