Hack to make printutils run in ahope
Make combine_segments write valid output