Fix 2 ResourceWarning in difflib.py. Patch by Mickaël Schoentgen.