This automatically escapes things, and makes the code easier to read. template.lua was slightly modifed to not escape /, so it is vendored.