kprop should use mkstemp instead of mktemp if it is available.