Fix quote quoting.

Ensure we globally replace single quotes with double quotes, rather than just the first occurrence.