Fixed \r\n Windows ouput that corrupted pngs.