Fix deprecation warning in tempfile.
1 file changed