…calling close first
…te/remove/createIndex/ensureIndex with safe enabled and no callback
… handle resume calls on dead stream
Calling GridStore as a function used to pass fileIdObject into the constructor instead of the function call's actual parameters. Leaving the resulting GridStore object in a different state than it would if it had been called with new. Fix this behavior and add a test.