Replace deprecated /e modifier with callback in RewriteUrls()

As previously included into 1.2.x/1.2.7.