[pergola] last line of file was lost when files do not have chromEnd