"public.text" is an abstract UTI, so we shouldn't try to directly write an NSString for this UTI. Instead, vending a concrete type such as "public.utf8-plain-text" should be sufficient.