#323438 by emok, chx, mfb: uploaded files become arrays in previews, so object property checking will not work on them (from PHP 5.2.12+)