Reinit temporary directory after forking since it may have been removed