templates / branches--on commit revert: free msg in format_todo() (bf3de2b)
   1: this is just to ensure the directory exists.