CB-5532 WP8. Add binary data support to FileWriter

https://issues.apache.org/jira/browse/CB-5532