Remove *encoding attributes from <sync> as they are meaningless when we are not filtering in <copy>. Add documentation for <sync>.