Replace double quotes with single quotes in PHP scripts