Escape brackets in strings

Fixes https://github.com/nathan/phosphorus/issues/277