Rebased b11326d - tmp_dir param for systems with noexec on /tmp

Fixing

https://github.com/puppetlabs/puppetlabs-vcsrepo/pull/68