tmpnam and tmpfile function example