fix bug that generates a parse error

* Parse error is generated because deleting all objects wrote the file
with an empty hash inside a string.
* I think it was getting a little late when I wrote that :/