Don't overwrite content type and charset on client file sync (schema change)

Also, don't cache sync XML for imported attachments