Allow tmp_dir to be user-configurable
Actually _allow_ users to define tmp_dir
Merge pull request #8693 from techhat/cloudtmpdir

Allow tmp_dir to be user-configurable