properly escape endlines
go 1.0 doesn't have Skip