paperlesspost/passifier — pull request #1 by alexmuller (2012-10-04 14:56:15+00:00)
Title: Writing binary files fails with Rails 3.2.8

Hi there, thanks for the great gem.

I was receiving the following encoding error:

"\x82" from ASCII-8BIT to UTF-8

It seemed to me to be a problem with the `File.open` mode when using Rails and writing out the pkpass assets (binary files).

Anyway, I think this might help?

Cheers,

Alex