Use `'a'` mode to append to a file.