test/file: more informative error msg

trying to figure out what travis is doing wrong