Fix #202 quotes

- `%Q()` doesn't require an escaped quote.
- Fix double escaping problem as reported in #202.