rdp-sam: Use g_mkstemp() instead of mkstemp() to create SAM file
g_mkstemp() automatically sets CLOEXEC on the created file, so avoids the need to do it later explicitly with fcntl.
Minor changes by Ray Strode.
g_mkstemp() automatically sets CLOEXEC on the created file, so avoids the need to do it later explicitly with fcntl.
Minor changes by Ray Strode.