[curl] allow set custom file name on upload.