Fix copying the console log not producing correct new lines