make stdout from _stitch_pages optional