Change XML write format from UNIX newlines to Windows. Fixes #12.