Use utf-8 if safe for writing to abbrev file