Allow MIME type checks in AgaviBaseFileValidator, closes #1342