Remove repeated definition of emit-str function
Move regexp escaping from reader to compiler.