Specify utf8 inputenc properly
Dedent case statement

Gets rid of trailing whitespace in generated LaTeX file.
Remove dead line of code and unneeded encoding line
Update README.md
Remove TIMESTAMP from input field names
Connect to RubyGems via HTTPS
Bump gems
Add content type extensions to template filenames
%s/"/'/g

Single quotes are usually preferred in cases where string interpolation is not
needed.