fix for encoding error when sending notifications

Ref: https://github.com/natescherer/apn_on_rails/pull/1