If `rfs.size()` is before `rfs.close()` it is callable and, I think, zero. As the test here is meant to show that no file is produced I would have expected the subsequent
```
rfs = self.repoPrx.file(self.repo_filename, "r")
```
to raise an exception since a non-existent file should not be openable for reading. This doesn't happen, though the subsequent attempt to write does fail.

I guess I opened this PR to test what this test is meant to test!