use stderr for errors, and expose os,arch,format release info upstream