Write to stdout instead of print