Normalize file encodings to utf8 so that CompoundDocument will be happy.