templates / branches--on commit gitweb: Convert string to internal form before chopping in chop_str (dee2775)
   1: this is just to ensure the directory exists.