Only need to replace |, not :, in file URLs.