Fixing curl download output.