Let's make this a function that always returns a temporary directory for post processing thumbnails. If the folder is not already present, it needs to be created.