GM earns $1.3 billion in Q2, pulling in $2.8 billion cash. IPO filing probably Friday.