Fixes #3: add X to mktemp to be compliant with its recent implementation