anchor.diff:      file.closeSync();
       // Write the contents of the file just read into another file.
       String outFilenameBase = getFilename("tests/vm/data/fixed_length_file");
  -    file = new File(outFilenameBase + "_out");
  +    String outFilename = outFilenameBase + "_out_read_write_sync";
  +    file = new File(outFilename);
       file.createSync();
       String path = file.fullPathSync();
       if (path[0] != '/' && path[0] != '\\' && path[1] != ':') {
  
positive.code:                   file.closeHandler = () {
                      // Now read the contents of the file just written.
                      List<int> buffer2 = new List<int>(bytes_read);
                      file = new File(getFilename(outFilenameBase + "_out"));
                      file.errorHandler = (s) {
                        Expect.fail("No errors expected");
                      };
  
negative.code:     bool exceptionCaught = false;
      bool wrongExceptionCaught = false;
      String filename = getFilename("tests/vm/data/fixed_length_file");
      File input = new File(filename + "_out_close_exception");
      input.openSync(true);
      input.closeSync();
      try {
  