PARQUET-1405: Fix writing statistics into DataPageHeader
PARQUET-1405: Fix writing statistics into DataPageHeader

This patch fixes backwards compatibility for statistics (for which we don't have currently have tests), issue introduced in prior patch for PARQUET-1405

Author: Deepak Majeti <mdeepak@apache.org>

Closes #4242 from majetideepak/PARQUET-1405 and squashes the following commits:

f839e72bd <Deepak Majeti> PARQUET-1405:  'Couldn't deserialize thrift' error when reading large binary column

majetideepak/arrow,wesm/arrow,wesm/arrow,majetideepak/arrow,icexelloss/arrow,wesm/arrow,xhochy/arrow,cpcloud/arrow,apache/arrow,kou/arrow,xhochy/arrow,apache/arrow,kou/arrow,kou/arrow,renesugar/arrow,laurentgo/arrow,laurentgo/arrow,icexelloss/arrow,majetideepak/arrow,renesugar/arrow,icexelloss/arrow,apache/arrow,apache/arrow,wesm/arrow,majetideepak/arrow,laurentgo/arrow,icexelloss/arrow,cpcloud/arrow,cpcloud/arrow,xhochy/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,majetideepak/arrow,renesugar/arrow,renesugar/arrow,icexelloss/arrow,xhochy/arrow,xhochy/arrow,cpcloud/arrow,kou/arrow,renesugar/arrow,apache/arrow,cpcloud/arrow,cpcloud/arrow,kou/arrow,apache/arrow,laurentgo/arrow,renesugar/arrow,majetideepak/arrow,kou/arrow,laurentgo/arrow,kou/arrow,laurentgo/arrow,icexelloss/arrow,xhochy/arrow,xhochy/arrow,renesugar/arrow,apache/arrow,apache/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,wesm/arrow,apache/arrow,kou/arrow,laurentgo/arrow,xhochy/arrow,wesm/arrow,apache/arrow,majetideepak/arrow,wesm/arrow,xhochy/arrow,cpcloud/arrow,kou/arrow,apache/arrow,xhochy/arrow,kou/arrow,renesugar/arrow,icexelloss/arrow,xhochy/arrow,wesm/arrow,icexelloss/arrow,majetideepak/arrow,cpcloud/arrow,apache/arrow,renesugar/arrow,majetideepak/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,wesm/arrow,renesugar/arrow,apache/arrow,renesugar/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,majetideepak/arrow,kou/arrow,xhochy/arrow,renesugar/arrow,icexelloss/arrow,cpcloud/arrow,xhochy/arrow,renesugar/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,majetideepak/arrow,icexelloss/arrow,majetideepak/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,majetideepak/arrow,kou/arrow,wesm/arrow,apache/arrow,renesugar/arrow,majetideepak/arrow,renesugar/arrow,majetideepak/arrow,xhochy/arrow