Revert to the previous way of chosing a temp file