Open files for writing in binary mode
Open files for writing in binary mode

To avoid encoding issues, which for some reason only manifests them-
selves when attempting to package Rails applications.

mthssdrbrg/tara,stenlarsson/tara