fixes .html / mako stuff for latest pyramid