If touch response headers contain name, save file with provided name
fix for convert stream to string for end lines