Fixes issue #37: user-set temporary folder now works no matter its location.