Use XXXXX in mktemp, so that it works on Linux.