Cloudbees fixes - GNU friendly mktemp options, and updated gist for golang