Adds support for TMPDIR Configuration

Helps with https://github.com/docker/docker/issues/4396

The parameter was there in the sysconfig file, this allows it to be exposed as a class param.
Yea it is stray. Let me rebase.