add to strip_newlines \r support (test in previous commit, oops)