Adapt the `test_write_unicode` unit test to r8609.
Authored by: cboos 2009-09-17
Parent: [r8609]
Child: [r8611]