jnicklas/carrierwave — pull request #766 by dlitz (2012-06-22 19:09:41+00:00)
Title: Fix SanitizedFile#to_file on Windows (binary mode)

Storage backends that use SanitizedFile#to_file (e.g. CarrierWave::Storage::Fog) break on Windows when trying to store binary files, due to the files being opened in text mode.

This patch fixes this issue.