fixed bug in rewrite when nothing has to be written to kv store (#51)
fixed bug in rewrite when nothing has to be written to kv store (#51)

* fixed bug in rewrite when nothing has to be written to kv store

dgraph-io/badger,dgraph-io/badger