Deleting the tmp folder at the start of an update.