canonicalize urls in scripts compiled to python (a bit).

(snap is not canonicalizing urls in time before the route to a3 snaplet
is missed.)
fix python compiler