validate_cmd: Make sure tmpfile is always closed and unlinked
validate_cmd: Use Puppet::Util.execute
validate_cmd(): Use Puppet::Util::Execution.execute when available
Merge branch 'pull-126'