Add a minimum length prefix to the .createTempFile calls

I had an exception thrown from line 51 because the prefix was too small. The prefix must always be at least 3 chars long, and you will sometimes encounter folders with shorter names on linux and windows.
please remove the trailing whitespaces