Renamed Photo.file field to Photo.photo_file to avoid conflict with Carrierwave.