Adds file validators to ActiveModel.