Normalize slashes for transforms.