Handle question mark when fetching binary data from backend. fix #249

Fix issue #249

Tests that demonstrate the problem are in https://github.com/phpcr/phpcr-api-tests/pull/143