Fixed tmp folder used with file upload.

It uses the /temp folder under server root now.