Python2.6+ backport
Added .txt to ignore

Ignoring text files and generated test files