Write the file in append mode.