Fix BinaryParser issue with new version of Mongo

Based on http://stackoverflow.com/a/10068084

Looks like a temporary fix but works for now.