Can’t use `super` with no parens inside `define_method`.
On AppVeyor we get permissions errors from mktmpdir.