PortraitUtil should accept output stream as well
Preparing 1.0 GA release