tiny script that replace new lines with \n