gridfs readstream error handling