avoid unnecessary allocations when outputting BGZF