templates / branches--on commit mingw_rmdir: set errno=ENOTEMPTY when appropriate (ab1a11b)
   1: this is just to ensure the directory exists.