add mktemp XXXXX to make tch mktemp happy