resolve gridfs.FindOne and stream issues