Fix bug in TempFileMgr startup