Java tool to convert hex strings in binary