Fix lit_sub for Python 3.4

Python 3.4 changed the regexp internals in such a way that literal()
strings now get auto-escaped when fed into regexp.
We don't want that: stringify them.