`term_string/2` returns `end_of_file` with null string at the second arg

the thread that @peter.ludemann meant, most probably