Fixes for carrierwave resize_to helper