testsuite.c mymkstemp addition

Add a function to create a unique temporary file name in testsuite.