removes NUL characters from tika-extracted data