fix bug in joinWiggleFiles