Remove temp upload dir on shutdown.
Merge branch 'hotfix-1.1.1'