Fixed #1034: AgaviArraylengthValidator doesn't work with files