Replace single quotes with escaped double quotes