Fix a nil pointer dereference bug
Fix a nil pointer dereference bug

When running Stream framework and calling decrIteratorCount, there was a
nil log file which caused a panic when running deleteLogFile. This PR
deals with that bug.

Fixes issue #781.

dgraph-io/badger,dgraph-io/badger