Add gem spec
Only escape control characters that need to be escaped