make Lua use mkstemp() instead of tmpnam()
Merge pull request #141 from satta/master

make Lua use mkstemp() instead of tmpnam()