Function
Required permissions:FILESYSTEM_WRITE
Create a temporary directory. The directory will be removed when the query ends.