Merge pull request #141 from satta/master

make Lua use mkstemp() instead of tmpnam()