Fix write_object.