add a example for tmpnam