allow choosing file format (pdf/xls) in statistics form, refs #7169