It should, in jlib, probably. But then I'd need to make it general purpose rather than coping with just the cases I need - for example, I make assumptions about how big stderr is going to get.