fixed file leak issue with pybedtools, need to be careful about using up iterators.