Allow 404 template to be rendered without data
Safely avoid Encoding on 1.8.x