SNOW-3718333: escape backslashes and single quotes in stage/file path SQL generation (#4274)