Fixing code to compile with consul-template v0.5.0

master didn't compile, looks like the View refactor in https://github.com/hashicorp/consul-template/commit/28113307f4cf3ce6c21a3751e2fa8d059d25f83e broke the code.