check binary or not in ParseHeader in PlyParser