Make check_uptodate compatible with BSD shells
Make check_uptodate compatible with BSD shells

BSD mktemp requires a template for the file/directory name.
GNU mktemp supports the option, but is not mandatory.

This change passes in the template, so that the check_uptodate.sh is
more compatible across different environments.

Change-Id: Id4abb92054363416272f583600e3d8ff2a9f9d42
Closes-Bug: 1246858

jasondunsmore/heat,srznew/heat,rdo-management/heat,noironetworks/heat,steveb/heat,rh-s/heat,maestro-hybrid-cloud/heat,dragorosson/heat,dims/heat,ntt-sic/heat,openstack/heat,ntt-sic/heat,miguelgrinberg/heat,steveb/heat,openstack/heat,cwolferh/heat-scratch,pratikmallya/heat,gonzolino/heat,cryptickp/heat,gonzolino/heat,pratikmallya/heat,cryptickp/heat,dims/heat,rdo-management/heat,maestro-hybrid-cloud/heat,NeCTAR-RC/heat,pshchelo/heat,jasondunsmore/heat,takeshineshiro/heat,takeshineshiro/heat,cwolferh/heat-scratch,redhat-openstack/heat,miguelgrinberg/heat,srznew/heat,noironetworks/heat,pshchelo/heat,redhat-openstack/heat,rh-s/heat,NeCTAR-RC/heat,dragorosson/heat