Encode output only from diff tool and don't encode already encoded content.