Fix string escaping on gemspec generation