log to process.stdout.write to prevent line endings