HPCC-9742 Allow maxlength to be specified on workunit output

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>