correct mktemps usage