Change new line characters to space with sed.