Fix type generation for raw strings