Better handling of _opening and _opened states flags
Better handling of _opening and _opened states flags

Check and set them whenever possible for more robust code.

aheckmann/gridfs-stream,webmasteraxe/gridfs-stream