Added an option to change the temp dir

I did this today cause i was having some trouble with the default temp dir on some cPanel server with cagefs