BUG FIX: Encoding error on jpegPhoto during validations

- force encoding to ASCII-8BIT for binary data to prevent encoding error in ruby 1.9+