Use gsub! instead of gsub

* Be more ruby-ish and use `gsub!` instead of `gsub` because it's assigned to the same variable
* Use consistent string quotes in same function call