Write response back.