Write to stdout in one operation