Test both the pure Python and extension in Travis
Increased compatibility between extension and PP implementation

For closed files. Also temporarily disabled a test. (Didn't use skip
as it isn't working on 2.6.)