Issue #1320862 by DamienMcKenna: Fixed Error in imagecache_profiles_file_validate() when using plupload.