Oops, used the wrong line endings. Just strip out \r instead