Removed obsolete comment.
  Declare a new lua-accessible variable "tmp".

  This will hold $TMPDIR, $TMP, or finally /tmp.

  We'll use this for all temporary operations in the future.