templates / branches--on commit mingw: try to delete target directory before renaming (4426fb5)
   1: this is just to ensure the directory exists.