converts bam to a 4-column bed file (chr start end count)