Fixes #6539 Workaround py26 vs py27 difflib results