Add magic encoding comments

The Encoding cop complains on Ruby < 2.0:

    Missing utf-8 encoding comment.