Use encoding instead of template for database_example

Note for #379 - if everything is set up correctly now, this should
trigger a shellycloud deployment of the master branch. Pray! \o/