Fix path for upload.