fix: TempService added clearstatcache to prevent errors when creating tmp dir