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.
Merge remote branch 'origin/CMSSW_7_1_X' into CMSSW_7_0_X