Escape variable values

Closes #67.