Initial work on write_string().