Turn relative module ids into absolute

Solves a Template caching problem with relative module ids.