Convert end of line in chunk file to 0