Optimize allocations a bit by guessing the input/output bytes ratio
Filter out empty bytestrings from the results