added basic support for writing chunks to GridFS non-blocking