save curl output