controllers/upload: Fixed multiple file uploading