pHTSbatch: write blocks to file instead of one sample at a time