Implementing set_temp_directory.

Implementing a utility function to work around people experiencing
errors when executing commands that need the temporary directory to be
set.
Updating NuGet package version for patch.