Fixed crash caused by wrong chunkSize read
Merge pull request #140 from soarqin/gridfs_fix

Fixed crash caused by wrong chunkSize read