Adds encoding comment to the top of Ruby files.