Replace subclassing of six.with_metaclass with a class decorator