(mc_mkstemps): use g_mkstemp() to generate name of temporary file.