Converts a string literal to a dollar-slashy string.