Fix the mktemp template argument

The template should contain at least 3 consecutive X's which are replaced by random characters. Without it, the template is ignored and ghc fails to load $TEMPFILE.