Correct folder template for mktemp.

The current version crashes on Ubuntu 12.04 when the call to mktemp is made. According to MKTEMP(1) a "TEMPLATE must contain at least 3 consecutive `X's in last component".