Adds encoding directive to be ruby 1.9 compatible