In `PHP_METHOD(MongoGridFSFile, write)`, `cursor` is used as the `retval` argument:

```
MONGO_METHOD1(MongoCursor, sort, cursor, cursor, sort);
```

Can we do the same here and simply delete `temp` altogether?