Changed mktemp xxxx to XXXX