Issue #219: Fixes issue with null chars read from Maxima

see comments in #219 regarding the problem and the fix