added html target for coverage
stripped out unused write_seq function
fixed error handling for IOError when flushing individual buffer
fixed test_sweep_reads_2 to cover all cases of buffer flush, added extra test to cover label-by-group