Debug mkstemp stuff