Remove extra end of lines for empty output (no quads).