GridFS: Rename pre- and post-processing funcs

 -  Rename `preProcessingFunc` and `postProcessingFunc` to `readFilter` and `writeFilter`, to better convey their purpose
 -  Consolidate duplicate typedefs
 -  Make `srcData` parameter const
 -  Change binary data buffers from `void*` to `char*` for consistency with rest of driver