THRIFT-1351 Compiler does not care about binary strings

Patch: Wade Simmons & Jens Geyer