Rewrite file references, urls, srcs, and linked resources in files.