templates / branches--on commit setup_temporary_shallow(): use tempfile module (6e122b4)
   1: this is just to ensure the directory exists.