Fix using string as template name - does not work in sinatra