Make 'maxFileSize' option actually work