Change newlines for use as a gem