Fix upload handler UploadDir and UploadAutoDelete