Given that https://github.com/Stebalien/tempfile/issues/60 is closed with https://github.com/Stebalien/tempfile/pull/85, update the code accordingly.