An example of how to use mkstemp