remove non-printable new line and tab characters