Udvid write_file@os ved at tilføje kolonne

The write_file@os only supports file creation, not appending.

For logging purposes, it would be handy to have an append variant.