mod_base: Fix controller_static_pages's rendering of template files

Regression introduced in 5f891f46e78e2854648332c44c83a344ecd47a5d.

See for description of the feature:
http://zotonic.com/docs/0.9/ref/controllers/controller_static_pages.html