add bw-compat shim for pyramid_mako < 0.3