versioninfo: thread IO stream to allow capturing output.

Use Pkg2.status() to get info about installed packages.