Revert "Replace php call with filter wrapper."

This reverts commit e07fe44809e0515642537afd41f522cd73d2ee7a.
Switch back to the restorer php script.