TRIBS-57 Fix for carrierwave passing around closed files.