Fixed #1122: AgaviArraylengthValidator doesn't work with files