Validate attachment content type in accordance with Paperclip 4 security rules