filetesting: create file with correct mode; test failures are annotated
Merge pull request #14 from rogpeppe/filetesting-improvements

filetesting: create file with correct mode; test failures are annotated