use tmp dirs from environment, for large uploads, tmp dir must have enough space to hold the content for now