0.8.0 - better tempdir handling