Replaced call of term_to_atom/2 with write_term/2 in consult_server:write_escaped/3.
Added missing handling of \' in Util.appendUnescapedChar.