Made a mistake in mkstemp