Fix test reading UTF8-encoded file as ASCII
Add distutils-generated paths to .gitignore