tempDir (in the root dir), must be created after the root dir. Upstream-commit: 2d15b35f7afaf496ecfbfd61e2c102033255386e Component: engine