Removing all the new line characters for linux distros