Go back to mkdtemp in some cases