The WARC writing is only tested and known safe on Linux and relies on its behaviour of flock(2) and files opened in append mode (writes always append regardless of the stream position).