Make dssh more cross-platform compatible.

* Temp file creation no longer requires Linux mktemp(1)
* Alternate perl-based substitute for Linux flock(1) utility.