Remove all newlines from stdin