Only escape $s for Stata 13 (fixes #12)