Rename ALL THE TEMPLATES!!1!!!one!!1!!

.rhtml is deprecated in favour of .erb in Rails 3
Fix calculation of attachment sizes in Ruby 1.9.3

force_encoding is generally not a good idea and I can't see what it's trying to achieve here so...

Revert "Use the character set of the attachment to encode the string that we're pulling out of the file before converting it to our default encoding."

This reverts commit 3729f2053d4c04396d440a9c368bed174e9c9605.