fix curl output path