Integration test script: Make mktemp call compatible with Mac OS X.