CarrierWave extension for validating uploaded files.