CXX-232 fix gridfs tests on windows and linux