templates / branches--on commit revert: Simplify and inline add_message_to_msg (be33c46)
   1: this is just to ensure the directory exists.