Templates#compile_template: fix a Ruby warning

Ruby 2.1 warning: File.exists? is a deprecated name, use File.exist? instead
Merge pull request #829 from chastell/warning_fix

Ruby warning fix in Templates#compile_template