Revert "Apply fixes from 4796af1fa7 to old php-lint Ant target"

That broke linting.  I guess the tr \0  does not do what is expected.
Please try again by testing your change :)

This reverts commit 646df00eccd24146e8df16c0441b5a3d950db0e6

Change-Id: Ie2f9b26722e16e6f19b646ced074e9e09bada491