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