I cant say why the code was written that way, it should just use the file field name (article_imagefile), not the Files collection reference to it (((isset($_FILES["article_imagefile"]))?$_FILES["article_imagefile"]["name"]:"")
I'm trying to reproduce the problem, but I cant get it to happen using DWCS3 and DWCS4 on any of my computers.