Use raw_ostream instead of sstream