Change logic for TMPDIR in TFWLiteSelector.

Another attempt at getting it to work correctly with jenkins.
Merge pull request #2909 from ktf/fix-TFWLiteSelector

Misc fixes -- Another attempt at getting the TFWLiteSelector test working.