Moving handling of uploaded files to carrierwave.