Fixup download netrc macdef
Rewrite the commit message and fix netrc tests for Python >= 3.11: the parsing of netrc now requires macdef be terminated by a null line (\n\n) even when the macdef is at the end of the file
Rewrite the commit message and fix netrc tests for Python >= 3.11: the parsing of netrc now requires macdef be terminated by a null line (\n\n) even when the macdef is at the end of the file