2e1788f8 reverted #94843. It was creating `%t` as a directory and causes an error in incremental builds.