fixed missing output file for curl