Removes tempnam warning from Lua. Closes #248
Merge #568 r=@kevinmehall: Fix tempnam deprecation warning