r388: cleanup mem_process_seqs() interface

Print output outside the function and allow to feed insert size distribution.