Write null to terminate output buffer