Template processing in a route is broken
https://gist.github.com/Heartmender/59250eddb8e20252541c for my code and the compiler output.

My goal is to have things like materialize be slipstreamed into the server binary with the correct cache-control flags set so that it only has to serve the base css/javascript files once.

replacing:

``` nimrod
const
  materializeCSS = staticRead "public/css/materialize.min.css"

routes:
  get "/static/css/materialize.min.css":
    headers["Cache-Control"] = "public, max-age=31536000"
    resp materializeCSS, "text/css"
```

with:

``` nimrod
const
  materializeCSS = staticRead "public/css/materialize.min.css"

template cachedFile(path, contents, mimetype: string) =
  get path:
    headers["Cache-Control"] = "public, mapath-age=31536000"
    resp contents, mimetype

routes:
  cachedFile "/static/css/materialize.min.css", materializeCSS, "text/css"
```

The template gets discarded and the resulting static constants get thrown out of the binary at compile.
