Adding required validation for Paperclip 4.0. This works fine with pervious versions of paperclip.
Update file.rb

This should probably live with the other validations
Merge pull request #405 from Emerson/fix/paperclip_4

Adding required validation for Paperclip 4.0.