Ensure compilation output handle is flushed.