Added optional writing of warcinfo records.