Issue #20876: correctly close temporary file in test.support.fs_is_case_insensitive()