ensure temp dir exist at startup time