Leak-fix: execd neglected to destroy its EvalContext.

This leaked some memory and an open file descriptor.
Compile-fix: misplaced const.

mkdtemp() modifies its argument, so don't declare it to point to const
data, when it doesn't !
Merge pull request #1622 from ediosyncratic/leak-fix

Minor fixes