Slight changes to the file handling in this test trying to understand better a Travis failure