Added $mode parameter to fopen call on docs.

Whilst trying to implement the `bulkExtract` request, a colleague and I noticed the documentation was missing a required parameter in the documentation, which I've now added in.